package cc.cary.warehouse.service;

import cc.cary.warehouse.common.R;
import cc.cary.warehouse.dto.UserDTO;
import cc.cary.warehouse.entity.User;
import cc.cary.warehouse.form.UserQueryForm;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface IUserService extends IService<User> {
    User findByName(String name);

    R<IPage<UserDTO>> pages(UserQueryForm form);
}
